package com.ssy.lingxi.member.merchant.model.bo;

import com.ssy.lingxi.member.merchant.model.vo.validate.response.WorkFlowStepVO;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 查询内部工作流步骤定义返回的内部对象
 * @author 万宁
 * @version 2.0.0
 * @date 2021-05-19
 */
public class WorkflowTaskListBO implements Serializable {
    private static final long serialVersionUID = -6181456845448302166L;

    public WorkflowTaskListBO() {
        this.processName = "";
        this.currentStep = 0;
        this.stepList = new ArrayList<>();
    }

    public WorkflowTaskListBO(Integer currentStep, List<WorkFlowStepVO> stepList) {
        this.processName = "";
        this.currentStep = currentStep;
        this.stepList = stepList;
    }

    /**
     * 流程名称
     */
    private String processName;

    /**
     * 当前步骤
     */
    private Integer currentStep;

    /**
     * 流程步骤定义
     */
    private List<WorkFlowStepVO> stepList;

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public Integer getCurrentStep() {
        return currentStep;
    }

    public void setCurrentStep(Integer currentStep) {
        this.currentStep = currentStep;
    }

    public List<WorkFlowStepVO> getStepList() {
        return stepList;
    }

    public void setStepList(List<WorkFlowStepVO> stepList) {
        this.stepList = stepList;
    }
}
